package lesson.myicharstream;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class BufferedReaderDemo2 {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader("Day12\\src\\lesson\\myicharstream\\c.txt"));

        String s;
        while ((s = br.readLine()) != null){
            System.out.println(s);
        }
        br.close();
    }
}
